<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <input type="hidden" name="row[id]" value="{$row.id|htmlentities}">
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">最低充值金额:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-money" data-rule="required" class="form-control" name="row[fee]" type="number" value="{$row.fee|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">充值赠送金额:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-money" data-rule="required" class="form-control" name="row[gift]" type="number" value="{$row.gift|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-startime" class="control-label col-xs-12 col-sm-2">活动开始时间:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-startime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[startime]" type="text" value="">
        </div>
        <span>
            <label class="control-label" for="long-term">长期</label>
            <input id="long-term" type="checkbox" value="1" style="margin-top:0px;vertical-align:middle;position:relative;top:-2px;">
        </span>
    </div>
    <div class="form-group">
        <label for="c-endtime" class="control-label col-xs-12 col-sm-2">活动结束时间:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="c-endtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" type="text" value="">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
